#ifndef XPLANE_H
#define XPLANE_H

typedef struct xplane_data_
{
	uint32_t index; 
	float data[8]; 
} xplane_data;

void set_throttle(int sock, struct sockaddr* dest, float frac);
void set_joystick(int sock, struct sockaddr* dest, float x, float y, float z);
void set_gear_brakes(int sock, struct sockaddr* dest, float gear, float breaks);
void set_trim_flaps(int sock, struct sockaddr* dest, float trim, float flaps);

#endif
